package cn.com.aiton.common.model;

import cn.com.aiton.common.model.BaseDomain;

import java.util.Date;

public class UserDomain extends BaseDomain {
    //用户名，用手机号码
    private String username;
    //密码
    private String password;
    //用户类型
    private Integer type;
    //手机
    private String phone;
    //用户创建时间
    private String stime;


    public UserDomain() {
    }

    public UserDomain(String username, String password, Integer type, String phone, String stime) {
        this.username = username;
        this.password = password;
        this.type = type;
        this.phone = phone;
        this.stime = stime;
    }

    @Override
    public String toString() {
        return "UserDomain{" +
                "username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", type=" + type +
                ", phone='" + phone + '\'' +
                ", stime='" + stime + '\'' +
                '}';
    }

    public String getStime() {
        return stime;
    }

    public void setStime(String stime) {
        this.stime = stime;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }


}
